package de.recipeminer.models.chefkoch;

import de.recipeminer.models.generic.AbstractIngredientLineItem;
import de.recipeminer.models.generic.AbstractUnit;

/**
 * @author Markus Ackermann
 */
public class ChefkochIngredientLineItem extends AbstractIngredientLineItem {

    public ChefkochIngredientLineItem(ChefkochRecipe recipe, ChefkochIngredient ingredient,
                                      float amount, AbstractUnit unit) {
        super(recipe, ingredient, amount, unit);
    }

    @Override
    public ChefkochIngredient getIngredient() {
        return (ChefkochIngredient) super.getIngredient();
    }

    @Override
    public ChefkochRecipe getRecipe() {
        return (ChefkochRecipe) super.getRecipe();
    }

    public static enum Keys {
        ADDITIONAL_DESCRIPTION, UNIT_STRING, ADDITIONAL_INFO;
    }
}
